package com.hk.aefz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hk.aefz.mapper.UserInfoMapper;
import com.hk.aefz.po.UserInfo;
import com.hk.aefz.service.UserInfoService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户信息表 服务实现类
 * </p>
 *
 * @author 阿尔法哲
 * @since 2020-07-21
 */
@Service
public class UserInfoServiceImpl extends ServiceImpl<UserInfoMapper, UserInfo> implements UserInfoService {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @ApiOperation("通过账户id查询用户")
    @Override
    public List<UserInfo> selectByIds(List<Integer> aids) {

        List<UserInfo> userInfos = userInfoMapper.selectByIds(aids);

        return userInfos;
    }

}
